package com.rain.activity.utils;

import android.app.Activity;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by Rain on 2016/4/18.
 */
public class Globals {
    public static DButils db;
    public static List<Map<String,Object>> values ;
    public static int SCREEN_WIDTH;
    public static int SCREEN_HEIGHT;
    public static void init(Activity a){
        db= new DButils(a);
        SCREEN_WIDTH = a.getWindowManager().getDefaultDisplay().getWidth();
        SCREEN_HEIGHT = a.getWindowManager().getDefaultDisplay().getHeight();
    }
}
